package com.hyh.prize.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lww.springcloudapi.entity.parent.ParentEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 刮刮卡库存表
 * </p>
 *
 * @author SHEN
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value="TabGgcardStock对象", description="刮刮卡库存表")
@TableName("tab_ggcard_stock")
public class TabGgcardStock extends ParentEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地区编码")
    @TableId("AREAID")
    private String areaid;

    @ApiModelProperty(value = "归属点")
    @TableField("ACPTSITEID")
    private String acptsiteid;

    @ApiModelProperty(value = "入库数量")
    @TableField("TOTALNUM")
    private Integer totalnum;

    @ApiModelProperty(value = "库存数量")
    @TableField("STOCKNUM")
    private Integer stocknum;

    @ApiModelProperty(value = "领取数量")
    @TableField("OBTAINNUM")
    private Integer obtainnum;

    @ApiModelProperty(value = "最后一次入库数")
    @TableField("LAST_IN")
    private Integer lastIn;




}
